﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="code.aspx.cs" Inherits="JumbotCms.WebFile.Admin._javascriptcode" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>自定义外站调用</title>
<link type="text/css" rel="stylesheet" href="../../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../../_data/SysConfig.js"></script>
<script type="text/javascript" src="../../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../../style/global.css" />
<script type="text/javascript">
function copyToClipBoard(){
	var clipBoardContent = $("#txtCode").val();
	window.clipboardData.setData("Text",clipBoardContent);
	alert("复制成功");
	top.JumbotCms.Popup.hide();
}
</script>
</head>
<body>
<form id="form1" runat="server">
	<table class="formtable">
		<tr>
			<td class="mid"><asp:TextBox ID="txtCode" runat="server" Width="99%" Height="150px" TextMode="MultiLine"></asp:TextBox>
			</td>
		</tr>
	</table>
	<div class="buttonok">
		<input id="btnCopy" type="button" value="复制代码" class="btnsubmit" onclick="copyToClipBoard()" />
		<input id="btnReset" type="button" value="关闭窗口" class="btncancel" OnClick="parent.JumbotCms.Popup.hide();" />
	</div>
</form>
<script>jcms$$SetDialogTitle();</script>
</body>
</html>
